#ifndef TEXTURE_H
#define TEXTURE_H
#include<vector>
#include<QImage>
#include<QGLWidget>
#include"..\\..\\Game\\GameTaticsFrameWork\\primitives.h"

struct INFO_TEX
{
    char           path[255];
    char           name[100];
    unsigned int   idTexture;
    explicit INFO_TEX(const char* fileName,const char* name_,unsigned int idTexture_);
};

class TEXTURE
{
public:
    bool                    add(const char* fileName,const char* name);
    bool                    enable(const char* nameTexture)const;
    COLOR                   colorMask;
    TEXTURE();
private:
    std::vector<INFO_TEX>   textures;
};

#endif // TEXTURE_H
